package com.bsh.service;

import com.alibaba.fastjson.JSONObject;
import com.bsh.api.Exception.ApiException;
import com.bsh.utils.ApiMessage;

public interface ApiPartnerService {
	
	/**
	 * 添加合伙人
	 * @param dto
	 * @return
	 * @throws ApiException
	 */
	ApiMessage  savePartner(JSONObject dto) throws ApiException;
	
	
	
	/**
	 * 查询合伙人申请记录最新一条
	 * @param dto
	 * @return
	 * @throws ApiException
	 */
	ApiMessage  checkPartner(JSONObject dto) throws ApiException;
	
	
	
	/**
	 * 升级合伙人
	 * @param dto
	 * @return
	 * @throws ApiException
	 */
	ApiMessage  upgradePartner(JSONObject dto) throws ApiException;
	

}
